package com.weixingtu.commuterCar.tool.position;

import com.alibaba.fastjson.JSONObject;
import com.weixingtu.commuterCar.tool.gps.GPS;

import java.util.List;

public class Position {

    private GPS gps;

    public void setGps(GPS gps) {
        this.gps = gps;
    }

    /**
     * init the accessToken
     */
    public void init(){
        gps.init();
    }

    public List<JSONObject> getPosition(){
        return gps.getPosition();
    }


}
